package sn.gandal.agriculture.agrimobile.j2me.dao;

import java.io.IOException;
import java.util.Vector;
import javax.microedition.rms.RecordStoreException;
import javax.microedition.rms.RecordStoreNotOpenException;
import sn.gandal.agriculture.agrimobile.j2me.businessObjects.Membre;
import sn.gandal.agriculture.agrimobile.j2me.businessObjects.Adresse;

/**
 *
 * @author dysow
 */
public class ServiceDAOImpl implements IServiceDAO
{

    public Membre[] getAbonneList()
    {
//	AbonneDAO dao = new AbonneDAO();
//        Membre[] abonnes=null;
//        try {
//            abonnes = dao.getAbonnes();
//        } catch (RecordStoreException ex) {
//            ex.printStackTrace();
//        } catch (IOException ex) {
//            ex.printStackTrace();
//        }
        return null;
    }

    public Membre[] getAbonneList(String idAbonne, String nomMere, String nom, String prenom) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean abonneIdExiste(String idAbonne) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean ajouterAbonne(Membre abonne) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean modifierAbonne(Membre abonne) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean supprimerAbonne(int abonneIdInt) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public int getAgentDePeseeIdentifiant() throws RecordStoreException, IOException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getAbonneId() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public Membre[] getRechercheAbonneList(int abonneId, String prenom, String nom, String prenomMere, String nomMere) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean agentDePeseeExists(String adpId) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void deleteAllData() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void reinitialiseAbonneList(Vector vecAbonneList) throws RecordStoreException, IOException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public Membre getAbonneDetails(int idAbonneInt) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void reinitialiseConvocationList(Vector vector) throws RecordStoreException, IOException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void saveWebAdress(Adresse adresse) throws RecordStoreException, IOException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public Membre[] getListAbonnesModifies() throws RecordStoreException, IOException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean isAbonneWeighedToday(int idAbonne) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public Vector getListPesees(int idAbonne) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean remettreConvocation(int abonneId) throws RecordStoreException, IOException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void effacerConvocation(int abonneId) throws RecordStoreException, IOException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public Membre[] getListAbonnesActif() throws RecordStoreException, IOException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void updateIdentifiantsStore(Vector abonne) throws RecordStoreException, IOException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public int generateNewAbonneId() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean isAbonnesLoaded() throws RecordStoreException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

   
}
